package nautilus.moneykeeper.dto;

import java.util.Date;

public class Transaction extends DataObject{
	private long _amount;
	private Date _datetime;
	private Account _account; 
	
	/* meals - Fuel - Salary... */
	private Category _category;
	
	private PaymentMethod _paymentMethod;
	
	/* 0: income or 1:outcome */
	private int _type;
	
	private String _image;
	private String _description;
	private int _status;
	
	public Transaction(){
	}
	
	public void setAmount(long amount){
		_amount = amount;
	}
	
	public long getAmount(){
		return _amount;
	}
	
	public void setCategory(Category category){
		_category = category;
	}
	
	public Category getCategory(){
		return _category;
	}
	
	public void setPaymentMethod(PaymentMethod paymentMethod){
		_paymentMethod = paymentMethod;
	}
	
	public PaymentMethod getPaymentMethod(){
		return _paymentMethod;
	}
	
	public void setDatetime(Date datetime){
		_datetime = datetime;
	}
	
	public Date getDatetime(){
		return _datetime;
	}
	
	public void setAccount(Account account){
		_account = account;
	}
	
	public Account getAccount(){
		return _account;
	}
	
	public void setType(int type){
		_type = type;
	}
	
	public int getType(){
		return _type;
	}
	
	public void setStatus(int status){
		_status = status;
	}
	
	public int getStatus(){
		return _status;
	}
	
	public void setImage(String image){
		_image = image;
	}
	
	public String getImage(){
		return _image;
	}
	
	public void setDescription(String description){
		_description = description;
	}
	
	public String getDescription(){
		return _description;
	}
}
